Fixed weird cornercase behavior in python-indent-calculate-indentation.
author=?UTF-8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= <fgallina@cuca>
Thu, 17 May 2012 03:03:17 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fabian@anue.biz>
Thu, 17 May 2012 03:03:17 +0000 (00:03 -0300)
commitfdcea89346a3c6519ed342e243f445263e829444
treec80cfb1527421269d49848dd07213b6cca073aff
parent24d8d866f230b7a9b4c51c3d2e68ad442608133c
Fixed weird cornercase behavior in python-indent-calculate-indentation.

Doing (setq python-indent-levels '(0)) was causing the value of
python-indent-levels to not be initialized correctly on next calls to
python-indent-calculate-indentation. Using (setq python-indent-levels
(list 0)) instead does the trick but I'm not sure why.
lisp/progmodes/python.el